<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%
String path = request.getContextPath();
%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'list.jsp' starting page</title>
	
  </head>
  <body>
	 <h1><font color="red">User List</font></h1>
	 <table border="1" width="80%" align="center">
	 	<tr>
	 		<td>序号</td><td>姓名</td><td>年龄</td><td>删除</td><td>更新</td>
	 	</tr>
	 	<s:iterator value="#request.list" id="us">
	 	<tr>
	 		<td><s:property value="#us.id"/> </td>
	 		<td><s:property value="#us.name"/></td>
	 		<td><s:property value="#us.age"/></td>
	 		<td>1</td>
	 		<td>1</td>
	 	</tr>
	 	</s:iterator>
	 </table>
  </body>
</html>
